package com.gill.touka.ribbon;

import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.netflix.ribbon.RibbonClients;
import org.springframework.context.annotation.Configuration;
import ribbon.RibbonConfig;

/**
 * 测试：细粒度配置ribbon client，根据服务的不同，采用不同的负载均衡算法
 */
//@RibbonClient(name = "user-center",configuration = {RibbonConfig.class})//细粒度配置
@RibbonClients(defaultConfiguration = {RibbonConfig.class})//全局配置
@Configuration
public class UserCenterRibbonConfig {
}
